package com.cryptoneedle.center.doris;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * <p>description: Doris 启动类 </p>
 *
 * @author CryptoNeedle
 * @date 2025-09-25
 */
@SpringBootApplication
@EnableScheduling
@EntityScan(basePackages = {
        "com.cryptoneedle.center.source.entity",
        "com.cryptoneedle.center.common.entity.doris",
        "com.cryptoneedle.center.common.entity.ods",
        "com.cryptoneedle.center.common.entity.dwd",
        "com.cryptoneedle.center.common.entity.mapping",
        "com.cryptoneedle.center.doris.entity",
})
@EnableJpaRepositories(basePackages = {
        "com.cryptoneedle.center.source.repository",
        "com.cryptoneedle.center.common.repository.doris",
        "com.cryptoneedle.center.common.repository.ods",
        "com.cryptoneedle.center.common.repository.dwd",
        "com.cryptoneedle.center.common.repository.mapping",
        "com.cryptoneedle.center.doris.repository",
})
public class DorisCenterApplication {

    public static void main(String[] args) {
        SpringApplication.run(DorisCenterApplication.class, args);
    }
}